package com.freestyle.multidatasource.annotation;

import com.freestyle.multidatasource.DataSourceRegister;
import org.springframework.context.annotation.Import;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created by rocklee on 2020/8/27 15:40
 */
@Target({java.lang.annotation.ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Import({DataSourceRegister.class})
public @interface EnableMultiDataSource {
}
